package com.wsd.smartcarwasher.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Problem {
    private Integer id;

    private Integer status;

    private String pageuri;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date time;

    private String problem;

    private String context;

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPageuri() {
        return pageuri;
    }

    public void setPageuri(String pageuri) {
        this.pageuri = pageuri == null ? null : pageuri.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getProblem() {
        return problem;
    }

    public void setProblem(String problem) {
        this.problem = problem == null ? null : problem.trim();
    }
}